package com.wanxi;

import lombok.Value;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@MapperScan("com.wanxi.dao")
@SpringBootApplication
@RestController
@Slf4j
@EnableWebMvc
@EnableScheduling
@EnableSwagger2
public class Fuzhuang061017Application {

    public static void main(String[] args) {
        SpringApplication.run(Fuzhuang061017Application.class, args);
        log.info("日志输出");
    }


}
